<%-- 
    Document   : registraUtente
    Created on : 19-giu-2012, 17.36.10
    Author     : Rosario Salone
    Form per la registrazione di un utenza
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>HomeTeatre - Registra nuovo utente -</title>
<style type="text/css">
<!--
.Stile1 {color: #FFFFFF}
-->
</style>
</head>

<body>
<table width="804" height="96" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <th width="100" scope="col"><img src="immagini/posta052.gif" width="64" height="77" /></th>
    <th width="700" scope="col"><a href="index.jsp"><img src="immagini/httitolo.jpg" width="700" height="100" /></a></th>
    
  </tr>
</table>

 

<table width="804" border="0" cellpadding="0" cellspacing="0" bgcolor="#0066CC">
  <tr>
    <th width="103" height="400" rowspan="6" valign="top" scope="col"><img src="immagini/registrazione.jpg" width="100" height="400" /></th>
    <th width="299" rowspan="6" align="left" valign="top" scope="col">
        <form id="form1" name="form1" method="post" action="Controller">
      <label>
     <% if  (request.getAttribute("errore")!=null)
      {
         
        if (request.getAttribute("errore").equals("null")) {%>
            <font color="yellow" size="+2"> Attenzione, completare tutti i campi! </font>
        <%} 
        else if (request.getAttribute("errore").equals("password")) { %>
                    <font color="yellow" size="+2"> Attenzione, password diverse! </font>
        <%}else{     %>
                           <font color="yellow" size="+2"> Attenzione, utilizza un utenza gmail valida! </font>
          <%} } 
       %>   

      <br />
     
  <span class="Stile1">&nbsp;&nbsp;Email (login)&nbsp;&nbsp;
      <br />&nbsp;&nbsp;<input type="text" name="login" size="22" value=<%if (request.getAttribute("login")==null){%> "" <%} else {%>"<%=request.getAttribute("login")%>"<%}%> />&nbsp;
      <% if (((request.getAttribute("login")==null)||(request.getAttribute("login")==""))&&(request.getAttribute("errore")!=null)) {%>
        
        <img src="immagini/frecce050.gif" width="49" height="23" alt="frecce050"/> &nbsp;
        
      <%}%> 
         
      <br />
        
        
        </span></label>
      <br />
      <span class="Stile1">
      <label> &nbsp;&nbsp;Password &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	   
      <br />&nbsp;&nbsp;<input type="password" name="password" size="22"  value=<%if (request.getAttribute("password")==null){%> "" <%} else {%>"<%=request.getAttribute("password")%>"<%}%> />
       <% if (((request.getAttribute("password")==null)||(request.getAttribute("password")==""))&&(request.getAttribute("errore")!=null)) {%>
        
        <img src="immagini/frecce050.gif" width="49" height="23" alt="frecce050"/> &nbsp;
        
      <%}%> 
      <br />
      </label>
      <label>&nbsp;&nbsp;Ripeti Password &nbsp;&nbsp;&nbsp;
      <br />&nbsp;&nbsp;<input type="password" name="rippassword" size="22" value=<%if (request.getAttribute("rippassword")==null){%> "" <%} else {%>"<%=request.getAttribute("rippassword")%>"<%}%> />
      <% if (((request.getAttribute("rippassword")==null)||(request.getAttribute("rippassword")==""))&&(request.getAttribute("errore")!=null)) {%>
        
        <img src="immagini/frecce050.gif" width="49" height="23" alt="frecce050"/> &nbsp;
        
      <%}%> 
      </label>
      </span> <br /> 
      <p class="Stile1">
        <label>&nbsp;&nbsp;Nome &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         <br />&nbsp; <input type="text" name="nome" size="22" value=<%if (request.getAttribute("nome")==null){%> "" <%} else {%>"<%=request.getAttribute("nome")%>"<%}%> />
          <% if (((request.getAttribute("nome")==null)||(request.getAttribute("nome")==""))&&(request.getAttribute("errore")!=null)) {%>
        
        <img src="immagini/frecce050.gif" width="49" height="23" alt="frecce050"/> &nbsp;
        
      <%}%> 
          </label>
        
        <br /><label>&nbsp;&nbsp;Cognome &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <br />&nbsp;&nbsp;<input type="text" name="cognome" size="22" value=<%if (request.getAttribute("cognome")==null){%> "" <%} else {%>"<%=request.getAttribute("cognome")%>"<%}%> />
          <% if (((request.getAttribute("cognome")==null)||(request.getAttribute("cognome")==""))&&(request.getAttribute("errore")!=null)) {%>
        
        <img src="immagini/frecce050.gif" width="49" height="23" alt="frecce050"/> &nbsp;
        
      <%}%> 
          </label>
      </p>
      
       <br />
       <br />
       
       <th width="299" rowspan="6" align="left" valign="top" scope="col">
      <p class="Stile1">
        <label>Indirizzo &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <br /><input type="text" name="indirizzo" size="22" value=<%if (request.getAttribute("indirizzo")==null){%> "" <%} else {%>"<%=request.getAttribute("indirizzo")%>"<%}%> />
          <% if (((request.getAttribute("indirizzo")==null)||(request.getAttribute("indirizzo")==""))&&(request.getAttribute("errore")!=null)) {%>
        
        <img src="immagini/frecce050.gif" width="49" height="23" alt="frecce050"/> &nbsp;
        
      <%}%> 
          </label>
    <br />
        <label>Città&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <br /><input type="text" name="citta" size="22" value=<%if (request.getAttribute("citta")==null){%> "" <%} else {%>"<%=request.getAttribute("citta")%>"<%}%> />
          <% if (((request.getAttribute("citta")==null)||(request.getAttribute("citta")==""))&&(request.getAttribute("errore")!=null)) {%>
        
        <img src="immagini/frecce050.gif" width="49" height="23" alt="frecce050"/> &nbsp;
        
      <%}%> 
          <br />
          <br />

          
          Codice fiscale&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         <br /> <input type="text" name="codiceFiscale" size="22" value=<%if (request.getAttribute("codiceFiscale")==null){%> "" <%} else {%>"<%=request.getAttribute("codiceFiscale")%>"<%}%> />
          <% if (((request.getAttribute("codiceFiscale")==null)||(request.getAttribute("codiceFiscale")==""))&&(request.getAttribute("errore")!=null)) {%>
        
        <img src="immagini/frecce050.gif" width="49" height="23" alt="frecce050"/> &nbsp;
        
      <%}%> 
          </label>
      <br />
        <label>Telefono&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <br /><input type="text" name="telefono" size="22" value=<%if (request.getAttribute("telefono")==null){%> "" <%} else {%>"<%=request.getAttribute("telefono")%>"<%}%> />
          <% if (((request.getAttribute("telefono")==null)||(request.getAttribute("telefono")==""))&&(request.getAttribute("errore")!=null)) {%>
        
        <img src="immagini/frecce050.gif" width="49" height="23" alt="frecce050"/> &nbsp;
        
      <%}%> 
          </label>
      </p>
      <p>
        <span class="Stile1">
        <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
        </span>
        <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <input type="hidden" name="provenienza" value="registraUtente" />
        <input type="hidden" name="operaz" value="registra" /><br />
        <input type="submit" name="conferma" value="Conferma Dati" />
        </label>
      </p>
      <p>&nbsp;</p></form>
          
         
       </p>
        
        </th>
  </tr>
  
  
  <tr>
    <th valign="top" bordercolor="#ECE9D8" bgcolor="#FFFFFF" scope="col"><img src="immagini/nulla.jpg" border=0 width="102" height="100" border="0" /></th>
  </tr>
    <tr>
    <th valign="top" bordercolor="#ECE9D8" bgcolor="#FFFFFF" scope="col"><img src="immagini/nulla.jpg" border=0 width="102" height="100" border="0" /></th>
  </tr>
  <tr>
    <th valign="top" bordercolor="#ECE9D8" bgcolor="#FFFFFF" scope="col"><img src="immagini/nulla.jpg" border=0 width="102" height="100" border="0" /></th>
  </tr>
  <tr>
    <th valign="top" bordercolor="#ECE9D8" bgcolor="#FFFFFF" scope="col"><img src="immagini/nulla.jpg" border=0 width="102" height="100" border="0" /></th>
  </tr>

</table>
</body>
</html>
